package com.lhj.myapplication.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 定义有数据又有返回状态的统一返回类
 * @param <T>
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class RestDataResult<T> extends RestResult implements Serializable {
    private T data;
}
